package cn.nexd.app.collector.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by xunzongxia on 16/10/10.
 */

public class ErrorLog {
    private String date;
    private List<String> fileName;

    public void setDate(String date) {
        this.date = date;
    }

    public void setFileName(List<String> fileName) {
        this.fileName.clear();
        this.fileName.addAll(fileName);
    }

    public String getDate() {
        return date;
    }

    public List<String> getFileName() {
        return fileName;
    }

    public ErrorLog(String date) {
        this.date = date;
        this.fileName = new ArrayList<>();
    }

    public ErrorLog() {
        fileName = new ArrayList<>();
    }

    @Override
    public String toString() {
        return "ErrorLog{" +
                "date='" + date + '\'' +
                ", fileName=" + fileName +
                '}';
    }
}
